@charset "utf-8";

/*
@名称: base
@功能: 重设浏览器默认样式
*/


/* 防止用户自定义背景颜色对网页的影响，添加让用户可以自定义字体 */

html,
body {
    font-family: "Microsoft YaHei", Verdana, Arial, Tahoma, sans-serif!important;
    font-size: 15px;
    color: #2d302f;
    /*background:#fff;*/
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    // min-width: 1360px;
}

html body {
    height: 100%
}


/* 内外边距通常让各个浏览器样式的表现位置不同 */

* {
    margin: 0;
    padding: 0
}


/* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}


/* HTML5 媒体文件跟 img 保持一致 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.yellow {
    color: #e4bf6f !important;
}


/* 要注意表单元素并不继承父级 font 的问题 */


/*body,button,input,select,textarea{
	font:15px/1.5 微软雅黑;
}*/

input,
select,
textarea {
    font-size: 100%;
}


/* 去掉各Table cell 的边距并让其边重合 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* IE bug fixed: th 不继承 text-align*/

th {
    text-align: inherit;
}


/* 去除默认边框 */

fieldset,
img {
    border: 0;
}


/* ie6 7 8(q) bug 显示为行内表现 */

section iframe {
    display: none;
    border: none;
}


/* 去掉 firefox 下此元素的边框 */

abbr,
acronym {
    border: 0;
    font-variant: normal;
}


/* 一致的 del 样式 */

del {
    text-decoration: line-through;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500;
}


/* 去掉列表前的标识, li 会继承 */

ol,
ul {
    list-style: none;
    padding-right: 0;
}


/* 对齐是排版最重要的因素, 别让什么都居中 */

caption,
th {
    text-align: left;
}


/* 来自yahoo, 让标题都自定义, 适应多个系统应用 */

h1,
h2,
h3,
h4,
h5,
h6 {
    // font-size:100%;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

q:before,
q:after {
    content: '';
}


/* 统一上标和下标 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

a {
    color: #333;
    text-decoration: none;
}


/* 让链接在 hover 状态下显示下划线 */

a:hover {
    text-decoration: none;
    /*color: #c00;*/
}


/* 默认不显示下划线，保持页面简洁 */

ins,
a {
    text-decoration: none;
}


/* 清理浮动 */

.fn-clear:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.fn-clear {
    zoom: 1;
    /* for IE6 IE7 */
}


/* 隐藏, 通常用来与 JS 配合 */

body .fn-hide {
    display: none;
}


/* 设置内联, 减少浮动带来的bug */

.fn-left,
.fn-right {
    display: inline;
}

.fn-left {
    float: left;
}

.fn-right {
    float: right;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.error {
    color: red;
    font-size: 12px;
}
.align_center {
    text-align: center;
}

.color_red {
    color: red;
}

::-webkit-scrollbar {
    width: 0px;
    background-color: transparent;
}

.shade {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}
.white-bg{
	background: #fff;
}
// $common-size: 15px; // 字体大小
$samllsize: 13px;
$green: #48bd6a; // 绿色
$grey: #949996;
$footHeight: 50px;
$max-width: 750px;
$common-size: 0.6rem;
$big-size: 0.68rem;
$small-size: 0.52rem;
.hide {
    display: none!important;
}
.green{
	color: $green;
}
.red{
	color: #e45667;
}
.gold{
	color:#f9ba00;
	font-size: 1rem;
}
.silver{
	color: #b6c2d2;
}
.bronze{
	color: #c2762b;
}
.grey{
	color: $grey;
}

.index-flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-right: .5rem;
	box-sizing: border-box;
	height: 2rem;
}
.dh-header{
	height: 1.76rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 .5rem;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
	position: fixed;
	background: #fff;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	.center{
		text-align: center;
		flex: 999;
		font-weight: 700;
	}
}
.record__header{
	height: 1.76rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 .5rem;
	position: fixed;
	border-bottom: $grey;
	background: #fff;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	.center{
		text-align: center;
		flex: 999;
		font-weight: 700;
	}
}
.index{
	.index-panel{
		background: $green;
		height: 7.48rem;
		background-size: cover;
		background-repeat: no-repeat;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		.index-panel__user{
			.index-panel__user-avatar{
				border-radius: 50%;
				width: 2.6rem;
				height: 2.6rem;
				border: 3px solid #fff;
				box-shadow: 0px 0px .6rem rgba(0,0,0,0.6);
				img{
					width: 2.6rem;
					height: 2.6rem;
					border-radius: 50%;
				}
			}
			.index-panel__user-username{
				text-align: center;
				font-size: .68rem;
				color: #fff;
				margin-top: .5rem;
			}
		} 
	}
	.index-step{
		padding-left: .5rem;
	}
	.index-statictis{
		display: flex;
		align-items: center;
		height: 2.8rem;
		padding-left: .5rem;
		.index-statictis__item{
			flex: 1;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
		}
	}
	.index-record{
		margin-left: .5rem;
		border-top: 1px solid #e5e5e5;
	}
	.index-credit{
		margin-left: .5rem;
		margin-top: .68rem;
	}
	.index-setting{
		margin-left: .5rem;
		border-top: 1px solid #e5e5e5;
	}
}
.step{
	.step-data{
		margin-top: 1.76rem;
		background: #fff;
		margin-bottom: .5rem;
		.step-data__sum{
			text-align: center;
			line-height: 3.2rem;
			.green{
				font-size: 1.44rem;
			}
		}
		.step-data__statictis{
			display: flex;
			justify-content: center;
			align-items: center;
			height: 3.2rem;
			.step-data__statictis-item{
				small{
					color: $grey;
				}
				flex: 1;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
		}
	}
	.step-rank{
		padding: 0 .5rem;
		box-sizing: border-box;
		background: #fff;
		margin-bottom: .5rem;
		.medal{
			width: .7rem;
			margin-left: .2rem;
		}
		.step-rank__header{
			font-weight: 700;
			line-height: 2rem;
		}
		.step-rank__user{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 2.56rem;
			.step-rank__user-msg{
				display: flex;
				align-items: center;				
				.step-rank__user-avatar{
					width: 1.48rem;
					height: 1.48rem;
					border-radius: 50%;
					border: 2px solid $green;
					margin-right: .5rem;
					img{
						width: 1.48rem;
						height: 1.48rem;
						border-radius: 50%;
					}
				}
			}
			.step-rank__detail{
				display: flex;
				align-items: center;
				.green{
					font-size: 1rem;
					margin-right: .3rem;
				}
			}
		}
		.step-rank__tip{
			line-height: 2rem;
		}
	}
	.step-cartgory{
		background: #fff;
		overflow-x: hidden;
		.step-cartgory__header{
			font-weight: 700;
			line-height: 2rem;
			padding: 0 .5rem;
		}
		.step-cartgory__detail{
			width: 100%;
			overflow-x: scroll;
			height: 6.5rem;
			display: flex;
			padding: 0 .5rem;
			box-sizing: border-box;
			.step-cartgory__detail-item{
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				width: 1.76rem;
				.step-cartgory__detail-statictis{
					width: .32rem;
					height: 5rem;
					background: $green;
					border-radius: 10px;
				}
				.step-cartgory__detail-border{
					border-bottom: 2px solid #e5e5e5;
					width: 100%;
				}
				.step-cartgory__detail-time{
					font-size: .52rem;
					color: $grey;
					text-align: center;
				}
			}
		}
	}
	.shade{
		display: none;
		img{
			width: 9rem;
			position: fixed;
			right: .7rem;
			top: 1rem;
		}
	}
}
.share{
	height: 100vh;
	.bg{
		height: 100%;
	}
	.share-content{
		position: absolute;
		top: 5rem;
		left: 50%;
		transform: translateX(-50%);
		width: 13rem;
		border-radius: 5px;
		.share-container{
			box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.4);
			border-radius: 5px;
			.share-content__top{
				height: 6.52rem;
				width: 100%;
				border-top-left-radius: 5px;
				border-top-right-radius: 5px;
			}
			.share-content__down{
				background: #fff;
				border-bottom-left-radius: 5px;
				border-bottom-right-radius: 5px;
				.share-content__user{
					position: relative;
					top: -1.5rem;
					display: flex;
					justify-content: center;
					align-items: center;
					flex-direction: column;
					.share-content__user-avatar{
						width: 2.6rem;
						height: 2.6rem;
						border-radius: 50%;
						border: 2px solid #fff;
						img{
							width: 2.6rem;
							height: 2.6rem;
							border-radius: 50%;
						}
					}
				}
				.share-content__down-step{
					display: flex;
					align-items: center;
					.share-content__step-item{
						flex: 1;
						display: flex;
						flex-direction: column;
						align-items: center;
						justify-content: center;
						padding-bottom: 1rem;
						.share-content__step-header{
							font-size: .68rem;
							font-weight: 700;
						}
						.green{
							font-size: 1rem;
							margin-right: .3rem;
						}
					}
				}
			}
		}
		
		.button-box{
			width: 100%;
			text-align: center;
			margin-top: 1.3rem;
			.join-btn{
				line-height: 2rem;
				text-align: center;
				padding: 0 1rem;
				color: $green;
				border-radius: 1rem;
				background: #fff;
				display: inline-block;
				box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.4);
			}
		}
		
	}
}
.record{
	.record-tab{
		box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
		margin-top: 1.76rem;
		height: 1.76rem;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: .56rem;
		padding: 0 .6rem;
		border-top: 1px solid rgba(0,0,0,0.1);
		background: #fff;
		.record-tab__item{
			flex: 1;
			color: $green;
			border: 1px solid $green;
			text-align: center;
		}
		.record-tab__item:first-child{
			border-top-left-radius: 5px;
			border-bottom-left-radius: 5px;
			border-right: none;
		}
		.record-tab__item:last-child{
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
			border-left: none;
		}
		.active{
			color: #fff;
			background: $green;
		}
	}
	.record-content{
		.record-content__header{
			padding: .5rem;
		}
		.record-content__item{
			.grey{
				color: #ccc;
			}
			background: #fff;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 .5rem;
			height: 2.56rem;
			.record-content__item-left{
				display: flex;
				i.iconfont{
					font-size: 1.3rem;
					margin-right: .3rem;
				}
				.record-content__item-step{
					display: flex;
					justify-content: center;
					align-items: flex-start;
					flex-direction: column;
					.step{
						color: #2d302f;
						font-size: .68rem;
					}
				}
			}
			.record-content__item-right{
				display: flex;
				align-items: center;
				.rank{
					font-size: 1rem;
				}
				i{
					font-size: .6rem;
				}
				.medal{
					width: .7rem;
					margin-left: .2rem;
				}
			}
		}
	}
}
.setting{
	.weui-cells_form{
		margin-top: 2.5rem;
		font-size: .6rem;
	}
}
.credit{
	.credit-detail__header{
		padding: .5rem;
		display: inline-block;
	}
	.credit-panel{
		text-align: center;
		.credit-panel__title{
			font-size: .6rem;
			color: #b4efc5;
		}
		.credit-panel__credit{
			color: #fff;
			span{
				font-size: 1.44rem;
			}
			i{
				font-size: .8rem;
			}
		}
	}
	.index-credit{
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: .5rem;
		padding-top: .5rem;
		height: auto;
		margin-top: 0;
	}
	.index-credit:last-child{
		border-bottom: none;
	}
	.credit-flex-left{
		display: flex;
		flex-direction: column;
	}
	.credit-flex-right{
		span{
			font-size: .8rem;
		}
	}
}
// 排行榜
.rank{
	padding: .64rem;
	padding-top: 2.5rem;
	background: #1d7034;
	height: 100vh;
	box-sizing: border-box;
	.rank-header{
		color: #fff;
		text-align: center;
		font-size: .68rem;
		line-height: 2;
	}
	.rank-list{
		width: 100%;
		height: calc(100% - 1.44rem);
		overflow: scroll;
		background: #0C8C52;
		color: #fff;
		position: relative;
		.rank-list__tab{
			position: fixed;
			font-size: .42rem;
			width: calc(100% - 1.28rem);
			border: 1px solid #fff;
			line-height: 1.2rem;
			display: flex;
			align-items: center;
			.rank-list__tab-item{
				flex: 1;
				text-align: center;
				background: #0C8C52;
			}
			.rank-list__tab-item:first-child{
				border-right: 1px solid #fff;
			}
			.active{
				background: #fff;
				color: #48bd6a;
			}
		}
		.rank-list__medals{
			display: flex;
			justify-content: center;
			align-items: flex-end;
			margin:2.2rem 0 .8rem 0;
			.rank-list__medals-item{
				width: 3.2rem;
				overflow: hidden;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				font-size: 9px;
				.rank-list__medals-avatar{
					text-align: center;
					img{
						border: 1px solid #fff;
						width: 1.2rem;
						height: 1.2rem;
						border-radius: 50%;
					}
				}
				.rank-list__medals-name{
					width: 3.2rem;
					text-overflow: ellipsis;
					overflow: hidden;
					white-space: nowrap;
				}
				.rank-list__medals-plat{
					width: 100%;
					img{
						width: 100%;
					}
				}
			}
		}
		.rank-list__list{
			.rank-list__list-item{
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 0 .64rem;
				height: 1.6rem;
				.rank-list__left{
					font-size: .42rem;
					display: flex;
					align-items: center;
					.number{
						margin-right: .5rem;
						font-size: .6rem;
					}
					img.rank-list__avatar{
						width: 1rem;
						height: 1rem;
						border-radius: 50%;
						margin-right: .3rem;
						border: 1px solid #fff;
					}
				}
				.rank-list__right{
					font-size: 9px;
					.step{
						font-size: .52rem;
					}
				}
			}
		}
	}
}
.androidShare{
	background: #1d7034;
	height: 100vh;
	padding: 0 .64rem;
	.androidShare-user{
		padding-top: 3rem;
		width: 100%;
		.androidShare-user__up{
			height: 6.52rem;
			border-top-left-radius:5px;
			border-top-right-radius:5px;
		}
		.androidShare-user__down{
			padding: .68rem;
			position: relative;
			background: #fff;
			border-bottom-left-radius:5px;
			border-bottom-right-radius:5px;
			.androidShare-user__user{
				font-size: .52rem;
				display: flex;
				align-items: flex-end;
				position: absolute;
				top: -1.2rem;
				.androidShare-user__avatar{
					width: 2.4rem;
					height: 2.4rem;
					border-radius: 50%;
					border: 2px solid #fff;
					img{
						width: 2.4rem;
						height: 2.4rem;
						border-radius: 50%;
					}
				}
			}
			.androidShare-user__step{
				margin-top: 1.5rem;
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				font-size: .52rem;
				.androidShare-user__step-detail{
					color: #949996;
				}
				.green{
					font-size: 1.44rem;
				}
			}
			.androidShare-user__detail{
				display: flex;
				font-size: .52rem;
				padding: .5rem 0;
				border-bottom: 1px dotted #ccc; 
				.androidShare-user__detail-item{
					flex: 1;
					text-align: center;
					span{
						color: #949996;
					}
					.data{
						font-size: .68rem;
						color: #2d302f;
					}
				}
			}
			.androidShare-user__rank{
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding-top: .68rem;
				.androidShare-user__rank-left{
					font-size: .68rem;
				}
				.androidShare-user__rank-right{
					img.medal{
						width: .8rem;						
					}
				}
			}
			
		}
	}
	.androidShare-share{
		margin-top: .8rem;
		display: flex;
		align-items: flex-end;
		justify-content: space-around;
		.androidShare-share__code-img{
			width: 2.28rem;
			height: 2.28rem;
			margin-right: .4rem;
			img{
				width: 100%;
				height: 100%;
			}
		}
		img.sao{
			height: 2.6rem; 
			margin-right: .4rem;
		}
		img.run{
			width: 1.6rem;
			height: 1.6rem;
		}
		.androidShare-share__intro{
			margin-right: .4rem;
			font-size: .52rem;
			color: #fff;
			div:first-child{
				font-size: .68rem;
			}
		}


	}
}
.androidInformation{
	width: 100%;
	height: 100vh;
	background: #1d7034;
	padding: 0 .64rem;
	box-sizing: border-box;
	padding-top: 3rem;
	.androidInformation-panel{
		background: #0d8c53;
		color: #fff;
		width: 100%;
		height: 16rem;
		padding: .64rem .48rem 1.5rem .48rem;
		box-sizing: border-box;
		position: relative;
		.androidInformation-panel__header{
			font-size: .68rem;
		}
		.androidInformation-panel__time{
			font-size: .52rem;
		}
		.androidInformation-panel__info{
			font-size: .52rem;
			margin-top: .5rem;
			height: calc(100% - 2.7rem);
			overflow: hidden;
			img{
				max-width: 100%;
			}
		}
		.androidInformation-panel__page{
			display: flex;
			align-items: center;
			position: absolute;
			width: 100%;
			left: 0;
			bottom: 0;
			height: 1.2rem;
			background: #0d8c53;
			.androidInformation-panel__page-left{
				flex: 1;
				text-align: center;
				border: 1px solid #fff;
				height: 1.2rem;
				line-height: 1.2rem;
				
			}
			.androidInformation-panel__page-right{
				flex: 1;
				text-align: center;
				border: 1px solid #fff;
				height: 1.2rem;
				line-height: 1.2rem;
			}
			.dis{
				border: none;
				color: #1d7034;
			}
		}
	}
	.androidInformation-more{
		margin-top: .7rem;
		.androidInformation-more__header{
			color: #fff;
			font-size: .52rem;
			line-height: 2;
		}
		.androidInformation-more__box{
			display: flex;
			justify-content: space-between;
			.androidInformation-more__item{
				width: 48%;
				height: 3.28rem;
				border: 1px solid #fff;
				position: relative;
				img{
					width: 100%;
					height: 100%;
				}
				.androidInformation-more__item-intro{
					position: absolute;
					width: 100%;
					line-height: .7rem;
					background: rgba(0,0,0,0.4);
					font-size: 10px;
					left: 0;
					bottom: 0;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					color: #fff;
					a{
						color: #fff;
					}
				}
				
			}
		}
	}
}
.intro{
	width: 100%;
	overflow: scroll;
	.intro-image{
		width: 100%;
		height: auto;
		margin-bottom: 2.9rem;
		img{
			width: 100%;
			margin: 0;
			vertical-align: middle;
		}
	}
	.intro-bottom{
		display: flex;
		position: fixed;
		width: 100%;
		justify-content: space-around;
		align-items: center;
		padding: .32rem;
		bottom: 0;
		left: 0;
		background: #48bd6a;
		box-sizing: border-box;
		.intro-logo{
			width: 1.88rem;
			height: 1.88rem;
			background: #f4f4f4;
			img{
				width: 1.88rem;
				height: 1.88rem;
			}
		}
		.intro-code-img{
			width: 1.88rem;
			height: 1.88rem;
			background: #f4f4f4;
			img{
				width: 1.88rem;
				height: 1.88rem;
			}
		}
		.intro-txt{
			font-size: .6rem;
			color: #fff;
			span{
				font-size: .68rem;
			}
		}
	}
}
.back{
	color: #fff;
	position: absolute;
	left: .5rem;
	top: 0;
	font-size: 1rem;
}
.rank-back{
	color: #fff;
	position: absolute;
	left: .64rem;
	top: 0.64rem;
	font-size: 1rem;
	img{
		width: 1.44rem;
		height: 1.44rem;
	}
}
.bg-blur {
	float: left;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	-webkit-filter: blur(10px);
	-moz-filter: blur(10px);
	-o-filter: blur(10px);
	-ms-filter: blur(10px);
	filter: blur(10px);
}

